package com.nmf.site.biz.member.genx.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nmf.site.biz.member.gen.entity.BizMember;
import com.nmf.site.common.persistence.annotation.MyBatisDao;

@MyBatisDao
public interface GxBizMemberDao {
	@Select("select * from biz_memeber where self_invitation_code = #{selfInvitationCode} limit 0,3 ")
	public BizMember queryByMemberInvCode(@Param(value = "selfInvitationCode")String selfInvitationCode);
	@Select("select * from biz_memeber where id = #{memberId} limit 0,3 ")
	public BizMember queryByMemberId(@Param(value = "memberId")String memberId);
	
}
